﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="Vehicle_Modify.aspx.cs" Inherits="WebUI.Vehicle.Vehicle_Modify" %>

<asp:Content ID ="Content1" ContentPlaceHolderID ="ContentPlaceHolder1" runat="server">
<table>
        <tr>
            <td colspan="2" style="height: 21px">
                <asp:Label ID="lblVehicleSn" runat="server" Text="车辆编号："></asp:Label><asp:Label ID="lbVehicleSn"
                    runat="server" ForeColor="#404040"></asp:Label></td>
        </tr>
        <tr>
            <td style="width: 106px; height: 43px;">
                车牌号码：</td>
            <td style="width: 150px; text-align: left; height: 43px;">
                <asp:TextBox ID="txtVehicleNumber" runat="server" ForeColor="#404040"></asp:TextBox>
                </td>
                    <td style="text-align:left;"><asp:RequiredFieldValidator ID="RFValidatorVehicleNumber" runat="server" ControlToValidate="txtVehicleNumber"
                    ErrorMessage="*">请输入车牌号码</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="REValidatorVehicleNumber" runat="server" ControlToValidate="txtVehicleNumber"
                    ErrorMessage="*" ValidationExpression="^[\u4e00-\u9fa5][A-Za-z]( |)([0-9A-Za-z]{5}$)">请输入正确车牌号</asp:RegularExpressionValidator></td>
        </tr>
    <tr>
        <td style="width: 106px">
            所属车队：</td>
        <td style="width: 150px; text-align: left;">
            <asp:DropDownList ID="ddlCargoCars" runat="server" Visible="False" ForeColor="#404040">
                <asp:ListItem Value="0">无车队</asp:ListItem>
            </asp:DropDownList>
            <asp:CheckBox ID="cbkNoneCargoCarsSN" runat="server" Text="无车队" AutoPostBack="True" Checked="True" OnCheckedChanged="cbkNoneCargoCarsSN_CheckedChanged" /></td>

    </tr>
    <tr>
        <td style="width: 106px">
            车辆类型：</td>
        <td style="width: 150px; text-align: left">
            <asp:DropDownList ID="ddlVehicleType" runat="server" ForeColor="#404040">
                <asp:ListItem Value="大车型">大车型</asp:ListItem>
                <asp:ListItem Value="中型车">中型车</asp:ListItem>
                <asp:ListItem Value="小型车">小型车</asp:ListItem>
            </asp:DropDownList></td>
    </tr>
        <tr>
            <td style="width: 106px">
                最大载容：</td>
            <td style="width: 150px; text-align: left;">
                <asp:TextBox ID="txtMaximumSize" runat="server" ForeColor="#404040"></asp:TextBox>
               </td>
                    <td style="text-align:left;"> <asp:RequiredFieldValidator ID="RFValidatorMaximumSize" runat="server" ControlToValidate="txtMaximumSize"
                    ErrorMessage="*">请输入最大载容</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="REValidatorMaximumSize" runat="server" ControlToValidate="txtMaximumSize"
                    ErrorMessage="*" ValidationExpression="^[0-9]*$">请输入预计重量</asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style="width: 106px">
                最大载重：</td>
            <td style="width: 150px; text-align: left;">
                <asp:TextBox ID="txtMaximumWeight" runat="server" ForeColor="#404040"></asp:TextBox>
                </td>
                    <td style="text-align:left;"><asp:RequiredFieldValidator ID="RFValidatorMaximumWeight" runat="server" ControlToValidate="txtMaximumWeight"
                    ErrorMessage="*">请输入最大载重</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="REValidatorMaximumWeight" runat="server" ControlToValidate="txtMaximumWeight"
                    ErrorMessage="*" ValidationExpression="^[0-9]*$">请输入预计重量</asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style="width: 106px">
                车辆状态：</td>
            <td style="width: 150px; text-align: left;">
                <asp:DropDownList ID="drlStateType" runat="server" ForeColor="#404040">
                    <asp:ListItem>正常</asp:ListItem>
                    <asp:ListItem>预备</asp:ListItem>
                    <asp:ListItem>运行</asp:ListItem>
                    <asp:ListItem>报修</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Button ID="btnModify" runat="server" OnClick="btnModify_Click" Text="保存" ForeColor="#404040" />
                <asp:Button ID="btnReset" runat="server" OnClick="btnReset_Click" Text="重置" ForeColor="#404040" /></td>
        </tr>
    </table>
</asp:Content>
